﻿namespace Journeo_backend.Models.VOs
{
    public class Messages
    {
        // 普通类型
        public const string SUCCESS = "The operation was successful";
        public const string FAILED = "The operation failed";
        public const string ERROR = "The operation encountered an error";
        public const string NOT_FOUND = "The requested resource was not found";
        public const string UNAUTHORIZED = "The operation is not authorized";
        public const string FORBIDDEN = "The operation is forbidden";

        // 用户类型
        public const string USER_NOT_FOUND = "User not found";
        public const string USER_EXISTED = "User already exists";
        public const string USER_REGISTERED = "User registered successfully";
        public const string USER_UPDATED = "User updated successfully";
        public const string USER_DELETED = "User deleted successfully";
        public const string USER_LOGIN_SUCCESS = "User logged in successfully";
        public const string USER_LOGIN_FAILED = "User login failed";
        public const string USERNAME_EXISTS = "Username already exists";
        public const string EMAIL_EXISTS = "Email already exists";
        public const string PASSWORD_INCORRECT = "Password is incorrect";
        public const string VERIFIED = "User verified successfully";
        public const string PASSWORD_RESET = "Password reset successfully";

        // 景点类型
        public const string ATTRACTION_COMMENT_CREATE_SUCCESS = "Comment created successfully";
        public const string ATTRACTION_COMMENT_NOT_FOUND = "Comment not found";
        public const string ATTRACTION_COMMENT_DELETE_SUCCESS = "Comment deleted successfully";
        public const string ATTRACTION_NOT_FOUND = "Attraction not found";
        public const string ATTRACTION_LIKE_SUCCESS = "Attraction liked successfully";
        public const string ATTRACTION_COMMENT_LIKE_SUCCESS = "Attraction comment liked successfully";



        // ES
        public const string ELASTICSEARCH_CREATE_INDEX_SUCCESS = "Elasticsearch index created successfully";
        public const string ELASTICSEARCH_SYNC_SUCCESS = "Elasticsearch synchronization succeeded";
        public const string ELASTICSEARCH_SYNC_FAILED = "Elasticsearch synchronization failed";
        public const string ELASTICSEARCH_DELETE_INDEX_FAILED = "Failed to delete Elasticsearch index";

        // Redis
        public const string REDIS_UPLOAD_SUCCESS = "Image uploaded successfully";
        public const string REDIS_DELETE_SUCCESS = "Image deleted successfully";
        public const string REDIS_GET_SUCCESS = "Image retrieved successfully";
    }
}
